package cn.xmkeshe.front;

import cn.xmkeshe.model.Customer;

import java.util.Map;

public interface ICustomerServiceFront {

  public boolean add(Customer customer);

//  登录
  public Customer login(Customer customer);

  //  修改密码
  public boolean updateByPassword(String cuid,String password);

//  邮箱注册
  public Map<String,Object> createAccount(Customer customer);

//  邮箱登录
  public Map<String,Object> loginAccount(Customer customer);

  public Customer selectOneByEmail(String email);

  Map<String,Object> activationAccount(String confirmCode);
}
